<?php 
/**
 * eBay Label Printing Program Index Controller 
 * this Controller mainly do nothing 
 * @package  eBayLabelPrinter
 * @category Controller
 * @author   Norman Dong <norman.dong@hotmail.com>
 * @version  Initial
 * @copyright LeadCasket.com
 * @link     www.leadcasket.com
 * @license  Commercial
 */
class IndexController extends Zend_Controller_Action
{

    public function init(){
    /**
	 *
	 *
	 */    
	
	}

    public function indexAction(){
	
		echo "shomething";	
		$pm = new Model_DbTable_Paymentmethod();
		//var_dump($pm->listPaymentMethod());
    // Only the text to draw is required
    $barcodeOptions = array('text' => 'ZEND-FRAMEWORK');
     
    // No required options
    $rendererOptions = array();
     
    // Draw the barcode in a new image,
    $imageResource = Zend_Barcode::factory(
        'code39', 'image', $barcodeOptions, $rendererOptions
    )->draw();
    
	}
	/**
	 *  This is the Demo Action Function , I do not know what to put here
	 * So here goes some rubbish
	 * @param int $a  The first parameter
	 * @param string $b - The second one 
	 * @return array   for input 
	 */
	public function quicksignupAction(){
		$quickSignUpform = new Form_Quicksignup();
		$this->view->form = $quickSignUpform;	
		}
	/**
	 *  This is the Demo Action Function , I do not know what to put here
	 * So here goes some rubbish
	 * @param int $a  The first parameter
	 * @param string $b - The second one 
	 * @return array   for input 
	 */
	public function demoAction($a,$b){
		
		return array();	
		}		
	/**
	 *  This is the Demo Action Function , I do not know what to put here
	 * So here goes some rubbish
	 * @param int $a  The first parameter
	 * @param string $b - The second one 
	 * @return array   for input 
	 */		
	public function loginAction(){
		
		}
	public function logoutAction(){
		
		}
 /*
	public function autocompleteAction() {
        $this->_helper->viewRenderer->setNoRender();
        $this->_helper->layout->disableLayout();
        $countryName = $this->_getParam('name_country','');
       // $countryName = substr($countryName, 0, -1); //fix : remove * at the end of the ID.
 
        $countryList = new Model_DbTable_Countrylist();
        $results = $countryList->searchCountryList($countryName);
        $data = new Zend_Dojo_Data('name_country',$results);
		//$data ->setIdentifier();
        //print_r($results);
        // Send our output
       $this->_helper->autoCompleteDojo($data);
    }		
 */				
}
?>